<?php
class Lead_EDO_Datatype_Field_Relation_HasMany
{
    
    public static function getValue($field)
    {
		$finder = $field->getOwner()->getHandler()->getFinder($field->getRelatedClass());
		$args[] = array($field->getForeignKey(), '=', $field->getOwner()->id); 	    
		return $finder->findAll($args);
    }
    
    
    
}